/*Copyright (C) 2009 - 2011 MASSART GAUTHIER

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef GEST_PACKS_HEADER
# define GEST_PACKS_HEADER

# define LIST_PACKS_FILENAME	"niveaux/packs_levels.lst"
# define PACKS_PERSO_ROOT			"niveaux/niveaux_perso/"

void edit_level_pack(char jeu[20]);
int add_pack(char jeu[20]);
int add_pack_auto(char jeu[20], char new_name[256]);
int rename_pack(char jeu[20]);
int suppr_pack(char jeu[20]);
int suppr_level(char jeu[20]);
int get_packs_list(char jeu[20], char packs_list[25600]);
int get_level_list(char *filename, char level[1000][50], char author[1000][100]);
int get_packs_name(char jeu[20], char pack_name[256], long choix);
int choose_pack(char jeu[20], char root_pack_filename[300]);
#endif
